<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"
	contentType="text/html; charset=UTF-8"%>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>


<title>登陆</title>


<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/login.css">
<script type="text/javascript" src="${pageContext.request.contextPath }/js/login.js"></script>
</head>

<body>
	<form name="loginform" id="login-form" method="post" action="${pageContext.request.contextPath }/servlet/LoginServlet">

		<div id="main_login">
			<div id="login_text">
				<p>登陆</p>
			</div>
			<div id="div_username">
				<div id="div_username_lb" class="t_username_div">
					<label id="username_lb" for="username">用户名:&nbsp;&nbsp;</label>
				</div>
				<div id="div_username_tx" class="t_username_div">
					<input type="text" placeholder="请输入用户名" name="username"
						id="username" class="in" value="" size="38" onfocus="focuss(this)"
						onblur="buler(this)" required="required" aria-required="true"><span
						id="username_s">&nbsp;用户名不能为空</span>

				</div>
			</div>
			<div id="div_password">
				<div id="div_password_lb" class="t_password_div">
					<label id="password_lb" for="password">密码:&nbsp;&nbsp;</label>
				</div>
				<div id="div_password_tx" class="t_password_div">


					<input type="password" placeholder="请输入密码" name="password"
						id="password" class="in" value="" size="38" required="required"
						aria-required="true" onfocus="focuss(this)" onblur="buler(this)"><span
						id="password_s">&nbsp;密码不能为空</span>

				</div>
			</div>
			<div id="button_group">
				<div id="login_div" class="button_div">
					<input type="button" id="login" value="登陆" class="tbutton" onclick="login1()">
				</div>
				<div id="sign_div" class="button_div">
					<input type="button" id="sign" value="注册" class="tbutton" onclick="window.location.href='${pageContext.request.contextPath }/servlet/RegisterfoUI'">
				</div>
				<p id="falmesg" style="margin-left:70px;">${message }
			</div>
		</div>
	</form>
</body>
</html>
